#ifndef HOMEWORK4_H_INCLUDED
#define HOMEWORK4_H_INCLUDED

#include "SegmentInventory_Test.h"
#include "BufferManager.h"
#include "GlobalStuff.h"
#include "SegmentManager.h"
#include "Segment.h"
#include "SPSegment.h"
#include "Record.h"
#include <assert.h>
#include <pthread.h>
#include "Semaphore.h"
#include "DB.h"

class Homework4
{
public:
    static void test1();
    static void test2();
    static void test3();
    static void test4();
    static void test5();
    static void test6();
    static void stressTest();
    static void concTest();
    static void *concTest(void* arg);

    static unsigned nextId;
    static SEMAPHORE sem;

protected:

private:


};

#endif // HOMEWORK4_H_INCLUDED
